package com.czk.springdatar2dbc.repository;

import com.czk.springdatar2dbc.entity.TAuthor;
import org.springframework.data.r2dbc.repository.Query;
import org.springframework.data.r2dbc.repository.R2dbcRepository;
import reactor.core.publisher.Flux;

public interface TAuthorRepository extends R2dbcRepository<TAuthor, Long> {
    @Query("select * from t_author")
    Flux<TAuthor> queryAll();
}
